﻿namespace CPL
{
    using System;

    public class Task
    {
        /// <summary>
        /// Runs the action as asynchronous task.
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="action">The action to be executed.</param>
        public static void RunAsync<T>(Action<T> action)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// Runs the specified action.
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="action">The action.</param>
        public static void Run<T>(Action<T> action)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// Attaches current task to specified parent.
        /// </summary>
        /// <param name="parent">The parent.</param>
        public void AttachTo(Task parent)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// Attaches the specified child.
        /// </summary>
        /// <param name="child">The child.</param>
        public void Attach(Task child)
        {
            throw new NotImplementedException();
        }
    }
}